package edu.mju.builder;

/**
 * @Author:wyp
 * @Date:2020/9/19 22:29
 */
public class TicketHelper {
    /**
     * 成人票
     * @param info 票据信息
     */
    public void buildAdult(String info){
        System.out.println("构建成人票,信息:"+info);
    }

    public void buildChilderForSeat(String info){
        System.out.println("构建儿童票（有座）,信息:"+info);
    }

    public void buildChilderNoSeat(String info){
        System.out.println("构建儿童票（无座）,信息:"+info);
    }

    public void buildElder(String info){
        System.out.println("构建老人票,信息:"+info);
    }

    public void buildSoldier(String info){
        System.out.println("构建军人家庭票,信息:"+info);
    }
}
